- 
		Home
	
 
	- 
Rest Routes – Custom Endpoints for WordPress REST API
 
- 
5.5.5 (latest)
 
- 
Code
 
- 
Classes
 
-  Parameter 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											10 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											88 | 
										
																			
											| Lines of code | 
											30 | 
										
																			
											| Logical lines of code | 
											10 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											30 | 
										
																			
											| Methods | 
											10 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 10
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| getValidateCallback() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setValidateCallback() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getDefault() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDefault() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getRequired() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setRequired() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getName() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setName() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getType() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setType() | 
									S  | 
																	81 | 
													1 | 
													3 |